package com.yyn.pigeon.service;

import com.yyn.pigeon.entity.Goods;
import com.yyn.pigeon.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * </p>
 *
 * @author yyn
 * @since 2023-03-16
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    void toShoppingCartMapperByUserId(Goods goods, String userId,int check);

    List<ShoppingCart> getOrders(String userId);

}
